package com.sky.service.user;

import com.sky.pojo.Orders;
import com.sky.wx.wxdto.WxPayDto;

import java.io.IOException;

public interface WxPayService {
    void payment(WxPayDto wxPayDto) throws Exception;
    void refunds(Orders orders, String currency) throws IOException;
    String wxSign(String prepayId) throws Exception;
    String sign(byte[] message) throws Exception;
}
